package com.corpcredit.webapp.action;

import java.io.Serializable;
import java.util.List;

//import com.corpcredit.model.Blxdxx;
import com.corpcredit.model.Dwdb;
import com.corpcredit.model.Jbqk;
import com.corpcredit.service.LookupManager;

public class DwdbList extends BasePage implements Serializable {
	 private LookupManager lookupManager;
	 private Jbqk jbqk;   //The basic information of one enterprise

	 public void setJbqk(Jbqk jbqk) {
			this.jbqk = jbqk;
	}
	 
    public void setLookupManager(LookupManager lookupManager) {
        this.lookupManager = lookupManager;
    }

    public DwdbList() {
        setSortColumn("id"); // sets the default sort column
    }

    public List getDwdbs() {
        return sort(lookupManager.findAllByJbqkID(Dwdb.class, jbqk.getId()));
    }
}

